#!/usr/bin/env node

const fs = require('fs');
const file = process.argv[2] || __filename;

try {
  //const content = fs.readFileSync(file, 'utf-8');
  const content = fs.readFileSync(file).toString('utf8');
  console.log(content);
} catch(e) {
  console.error(e.message);
  process.exit(1);
}
